package com.jeeplus.test.website.websiteFile.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jeeplus.test.website.websiteFile.domain.entity.WebsiteFile;
import com.jeeplus.test.website.websiteFile.domain.vo.WebsiteFileReqVo;
import com.jeeplus.test.website.websiteFile.domain.vo.WebsiteFileRespVo;

public interface WebsiteFileService extends IService<WebsiteFile> {
    Page<WebsiteFileRespVo> getContentPage(WebsiteFileReqVo websiteFileReqVo, long current, long size);

    WebsiteFileRespVo queryById(String id);


    Boolean addContent(WebsiteFileReqVo websiteFileReqVo);

    Boolean updateContent(WebsiteFileReqVo websiteFileReqVo);

    Boolean deleteContent(String id);

}
